package com.yj.common.core.domain.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.yj.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.Collection;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper=true)
@ApiModel(value = "member",description = "微信用户")
public class Member extends Model<Member>  {
    /**
    * 主键id
    */
    @ApiModelProperty("主键id")
    private Integer id;

    /**
    * 小程序unionId
    */
    @ApiModelProperty("小程序unionId")
    private String unionId;

    /**
     * 小程序openId
     */
    @ApiModelProperty("小程序openId")
    private String openId;

    /**
    * 用户昵称
    */
    @ApiModelProperty("用户昵称")
    private String nickName;

    /**
    * 用户手机号
    */
    @ApiModelProperty("用户手机号")
    private String phone;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date CreateTime;
}